package polls.models;

import java.io.Serializable;

public class Faculty implements Serializable {
	private Long id=null;
	private String name;
	private Department department;
	
	public Faculty(String name, Department department) {
		super();
		this.name = name;
		this.department = department;
	}
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
}
